package ace.module.oauth2.server.core.impl.authorization.token;

import java.util.UUID;
import org.springframework.security.crypto.keygen.StringKeyGenerator;

/**
 * @author caspar
 * @date 2023/3/7 10:40
 */
public class Oauth2StringKeyUUIDGenerator implements StringKeyGenerator {
  @Override
  public String generateKey() {
    return UUID.randomUUID().toString();
  }
}
